import { ModuleWithProviders } from "@angular/core"
import { Routes, RouterModule } from "@angular/router";

export const routes: Routes = [
	{
		path: 'calibration',
		loadChildren:'app/+algorithm/+algorithmCalibration/algorithmCalibration.module#AlgorithmCalibrationModule'
	},
	{
		path: 'factor',
		loadChildren:'app/+algorithm/+factor/factor.module#FactorModule'
	},
	{
		path: 'deviceSensor',
		loadChildren:'app/+algorithm/+deviceSensor/deviceSensor.module#DeviceSensorModule'
	},
	{
		path: 'factor-queue',
		loadChildren:'app/+algorithm/+factor-queue/factor-queue.module#FactorQueueModule'
	},
	{
		path: 'batch-calibration',
		loadChildren:'app/+algorithm/+batch-calibration/batch-calibration.module#BatchCalibrationModule'
	},
	{
		path: 'second-calibration',
		loadChildren:'app/+algorithm/+second-calibration/second-calibration.module#SecondCalibrationModule'
	},
	{
		path: 'calibration-queue',
		loadChildren:'app/+algorithm/+calibration-queue/calibration-queue.module#CalibrationQueueModule'
	},
	//GPS检测记录
	{
		path: 'gps-detection',
		loadChildren:'app/+algorithm/+gps-detection/gps-detection.module#GpsDetectionModule'
	},
	//换挂检测记录
	{
		path: 'hook-change',
		loadChildren:'app/+algorithm/+hook-change/hook-change.module#HookChangeModule'
	},
	// 物资车标定参数
	{
		path: 'supplies-calibration',
		loadChildren:'app/+algorithm/+supplies-calibration/supplies-calibration.module#SuppliesCalibrationModule'
	},
	// 物资车待标定
	{
		path: 'treat-calibration',
		loadChildren:'app/+algorithm/+treat-calibration/treat-calibration.module#TreatCalibrationModule'
	},
	// 环卫标定-环卫标定结果
	{
		path: 'calibration-result',
		loadChildren:'app/+algorithm/+calibration-result/calibration-result.module#CalibrationResultModule'
	},
	// 环卫标定-环卫标定验证
	{
		path: 'calibration-checking',
		loadChildren:'app/+algorithm/+calibration-checking/calibration-checking.module#CalibrationCheckingModule'
	},
	// 渣土车标定结果
	{
		path: 'slag-vehicle',
		loadChildren:'app/+algorithm/+slag-vehicle/slag-vehicle.module#SlagVehicleModule'
	}
];

export const routing = RouterModule.forChild(routes);
